import { get, post } from "@/utils/http";
import { getPRApi } from "common/js/PRApi";
import { feedbackH5Domain } from "@/utils/config";
let { NODE_ENV } = process.env;
let { api } = getPRApi();

export const logoutApi = (params) => get("/sso/logout", params); //退出账号

export const getAccountApi = (params) => post(`${api}/export/account/getUser`, params); //用户账号模糊搜索

//feedbackH5界面
export const waterdropGetH5Api = (params) => get(`${feedbackH5Domain[NODE_ENV]}/openapi/dc/callback/h5`, params);
export const waterdropPostH5Api = (params) => post(`${feedbackH5Domain[NODE_ENV]}/openapi/dc/callback/h5`, params);
